﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace NDF.Test
{
    [TestClass]
    public class NumberHelperTest
    {
        [TestMethod]
        public void IsOddTest()
        {
            Console.WriteLine(Int64.MaxValue.IsOdd());
            Console.WriteLine(Int32.MaxValue.IsOdd());
            Console.WriteLine(Int16.MaxValue.IsOdd());
            Console.WriteLine(Byte.MaxValue.IsOdd());
            Console.WriteLine(Single.MaxValue.IsOdd());
            Console.WriteLine(Double.MaxValue.IsOdd());
            Console.WriteLine(Decimal.MaxValue.IsOdd());
        }

        [TestMethod]
        public void IsEvenTest()
        {
            Console.WriteLine(Int64.MaxValue.IsEven());
            Console.WriteLine(Int32.MaxValue.IsEven());
            Console.WriteLine(Int16.MaxValue.IsEven());
            Console.WriteLine(Byte.MaxValue.IsEven());
            Console.WriteLine(Single.MaxValue.IsEven());
            Console.WriteLine(Double.MaxValue.IsEven());
            Console.WriteLine(Decimal.MaxValue.IsEven());
        }

        [TestMethod]
        public void GetDigitsTest()
        {
        }
    }
}
